from manim import *

LV,QL,QH,JH='#75cfb8','#bbdfc8','#f0e5d8','#ffc478'

class p1(Scene):
    def construct(self):
        # self.add(NumberPlane())
        s1=Square(6)
        s11=Square(np.sqrt(20)).rotate(26.5*DEGREES).set_fill(LV,1)
        rect1=VGroup(s1,s11).shift(LEFT*3.5)
        s2=Square(6)
        lx=Line(LEFT*3,RIGHT*3).shift(UP)
        ly=Line(UP*3,DOWN*3).shift(RIGHT)
        rect2=VGroup(lx,ly,s2,Line([-3,3,0],[1,1,0]),Line([3,-3,0],[1,1,0])).shift(RIGHT*3.5)
        self.add(rect1,rect2)
        self.wait()
